CVE-2026-49356
Babel: Arbitrary File Read via sourceMappingURL Comment in @babel/core
Description
Babel is a compiler for writing next generation JavaScript. Prior to 8.0.0-rc.6 and 7.29.6, @babel/core affected by an arbitrary file read via a sourceMappingURL comment. Using @babel/core to compile maliciously crafted code can allow an attacker to read any source map from the system that is running Babel, if the attacker controls the input source code, can read the output source code, and knows the path of the source map file that they want to read. This vulnerability is fixed in 8.0.0-rc.6 and 7.29.6.
INFO
Published Date :
June 22, 2026, 4:07 p.m.
Last Modified :
June 22, 2026, 4:07 p.m.
Remotely Exploit :
No
Source :
GitHub_M
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | LOW | MITRE-CVE |
Solution
- Update @babel/core to 8.0.0-rc.6 or 7.29.6.
- Ensure source map files are protected.
- Review input source code for malicious content.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-49356 vulnerability anywhere in the article.